import numpy as np
import matplotlib.pyplot as plt
a =np.array([1, 2, 3, 4, 5])
b = np.array([0] * 10)
c = np.zeros(10)

print(a)
print(b)
print(c)
print(a.dtype)
print(c.dtype)

e = np.zeros(10, dtype='int')
print(e)
print(e.dtype)

print(np.empty(100))
print(np.arange(1,100))
print(np.arange(2,10,3))
print(np.arange(2,10,0.3))

print(np.linspace(0,10,11))

f = np.linspace(-10, 10, 10000)
x = np.linspace(-10, 10, 10000)

y = x**2
plt.plot(x,y)
plt.show()

print(np.eye(10))


